from django.conf import settings

def setting(request):
    setting = {
        'TEMPLATE_DIR': settings.TEMPLATE_DIR,
        'CURRENT_TEMPLATE': settings.CURRENT_TEMPLATE,
        'STATIC_DIR': settings.STATIC_DIR,
        'STATIC_URL': settings.STATIC_URL,
        'MEDIA_ROOT': settings.MEDIA_ROOT,
        'ADMIN_MEDIA_ROOT': settings.ADMIN_MEDIA_ROOT,
        'ADMIN_MEDIA_URL': settings.ADMIN_MEDIA_URL,
        'UPLOADS_DIR': settings.UPLOADS_DIR,
    }
    return setting